package task15;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/13 9:30
 * @description:
 */
public class CPrinter extends Printer {

  @Override
  public void open() {
    System.out.println("Canon 打开");
  }

  @Override
  public void print() {
    System.out.println("Canon 打印");
  }

  public  void clean(){
    System.out.println("Canon 清除");
  }

  @Override
  public void close() {
    clean();
    System.out.println("Canon 关闭");
  }


}
